home *** CD-ROM | disk | FTP | other *** search
/ Large Pack of OldSkool DOS MOD Trackers / buzzmachines_massive.exe / Dev / Geoffroy Notefilter SourceCode / BuzzParameterUnit.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-05-06  |  1.1 KB  |  40 lines

  1. // BuzzParameterUnit.h: interface for the BuzzParameterUnit class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4.  
  5. #if !defined(AFX_BuzzParameterUnit_H__19CF9763_6FC9_47CC_914B_71D208757F04__INCLUDED_)
  6. #define AFX_BuzzParameterUnit_H__19CF9763_6FC9_47CC_914B_71D208757F04__INCLUDED_
  7.  
  8. #if _MSC_VER > 1000
  9. #pragma once
  10. #endif // _MSC_VER > 1000
  11.  
  12. #include <stdlib.h>
  13. #include <time.h>
  14. #include <math.h>
  15. #include <string.h>
  16. #include <windows.h>
  17. #include "../mdk.h"
  18. #include "BuzzParameter.h"
  19.  
  20. #define BuzzParameterUnit_SAMPLES    1
  21. #define BuzzParameterUnit_MS        2
  22. #define BuzzParameterUnit_TICKS        3
  23.  
  24. class BuzzParameterUnit : public BuzzParameter<byte,byte>
  25. {
  26. public:
  27.     BuzzParameterUnit();
  28.     virtual ~BuzzParameterUnit();
  29.  
  30.     static byte MIN_SLIDER_VALUE;
  31.     static byte MAX_SLIDER_VALUE;
  32.     static byte UNCHANGED_SLIDER_VALUE;
  33.     static byte INIT_SLIDER_VALUE;
  34.  
  35.     virtual void compute();
  36.     virtual char const * toString(word const value);
  37. };
  38.  
  39. #endif // !defined(AFX_BuzzParameterUnit_H__19CF9763_6FC9_47CC_914B_71D208757F04__INCLUDED_)
  40.